package com.augrain.microframework.trace.common.traceid;

/**
 * 加载器
 *
 * @author biaoy
 * @since 2021/08/21
 */
public class TraceIdLoader {

    private static TraceIdGenerator idGenerator = new DefaultTraceGenerator();

    private TraceIdLoader() {

    }

    public static TraceIdGenerator getIdGenerator() {
        return idGenerator;
    }

    public static void setIdGenerator(TraceIdGenerator idGenerator) {
        TraceIdLoader.idGenerator = idGenerator;
    }
}
